<{include file="www/header.tpl"}>
<{include file="www/header-base.tpl"}>

<{if not $order}>
    <div class="box-none">
        <img src="/resource/www/imgs/box_none_icon.png" class="img">
        <p class="text">抱歉，你还没有订单！</p>
    </div>
    <{else}>
    <div class="orders-view">
        <h2 class="title">查看订单</h2>

        <p class="info">游客信息</p>

        <div class="user-xin fix">
            <img src="<{$order.tourist.userIcon}>" class="left">
            <div class="center">
                <p class="one">
                    <span class="span">姓名：<{$order.tourist.userName}></span>
                    <span class="span">性别：<{if $order.tourist.userGender == 'm'}>男<{elseif $order.tourist.userGender == 'f'}>女<{else}>未知<{/if}></span>
                </p>
                <p class="two">
                    <span class="span">年龄：<{if $order.tourist.userAge}><{$order.tourist.userAge}><{else}>未知<{/if}></span>
                    <span class="span">出行人数：<{$order.persons}>人</span>
                </p>
            </div>
        </div>

        <p class="info">订单说明</p>

        <div class="ddinfo">
            <p class="one">支付费用：<strong class="strong"><{$order.moneyTotal/100|@number_format:2}>€</strong> </p>
            <p class="one" title="预定服务：<{$order.serviceName}>">预定服务：<{$order.serviceName}></p>
        </div>

        <p class="info">行程时间</p>

        <div class="xcsj fix">
            <span class="start">行程开始时间：<{$order.startDay}> </span>
            <span class="end">行程结束时间：<{$order.stopDay}></span>
        </div>

        <p class="info">当前状态</p>

        <div class="status-wrap">
            <p class="status"><{$order.statusName}></p>
        </div>

        <div class="axinx">
            <p class="dd">你的订单信息</p>

            <ul class="logs">
                <{foreach from=$logs item="log"}>
                <li class="li fix">
                    <div class="left"><{"Y-m-d"|@date:$log.created}></div>
                    <div class="center"><{"H:i:s"|@date:$log.created}></div>
                    <div class="right" title="<{$log.log}>"><{$log.log}></div>
                </li>
                <{/foreach}>

            </ul>

        </div>
    </div>
    <{/if}>




<{include file="www/footer.tpl"}>
